package com.cmread.bplusc.reader; class HeadSetPlugListenner { void a() { int a;
a=0;// .class public Lcom/cmread/bplusc/reader/HeadSetPlugListenner;
a=0;// .super Landroid/content/BroadcastReceiver;
a=0;// .source "HeadSetPlugListenner.java"
a=0;// 
a=0;// 
a=0;// # instance fields
a=0;// .field private a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;// .field private b:Landroid/content/Context;
a=0;// 
a=0;// 
a=0;// # direct methods
a=0;// .method public constructor <init>(Landroid/content/Context;Lcom/cmread/bplusc/reader/dy;)V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     .line 15
a=0;//     invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
a=0;// 
a=0;//     .line 17
a=0;//     #p0=(Reference,Lcom/cmread/bplusc/reader/HeadSetPlugListenner;);
a=0;//     iput-object p1, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->b:Landroid/content/Context;
a=0;// 
a=0;//     .line 18
a=0;//     iput-object p2, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     .line 19
a=0;//     new-instance v0, Landroid/content/IntentFilter;
a=0;// 
a=0;//     #v0=(UninitRef,Landroid/content/IntentFilter;);
a=0;//     invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V
a=0;// 
a=0;//     .line 20
a=0;//     #v0=(Reference,Landroid/content/IntentFilter;);
a=0;//     const-string v1, "android.intent.action.HEADSET_PLUG"
a=0;// 
a=0;//     #v1=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V
a=0;// 
a=0;//     .line 21
a=0;//     iget-object v1, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->b:Landroid/content/Context;
a=0;// 
a=0;//     invoke-virtual {v1, p0, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
a=0;// 
a=0;//     .line 23
a=0;//     return-void
a=0;// .end method
a=0;// 
a=0;// 
a=0;// # virtual methods
a=0;// .method public final a()V
a=0;//     .locals 2
a=0;// 
a=0;//     .prologue
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     .line 56
a=0;//     :try_start_0
a=0;//     #v1=(Null);
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->b:Landroid/content/Context;
a=0;// 
a=0;//     #v0=(Reference,Landroid/content/Context;);
a=0;//     invoke-virtual {v0, p0}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
a=0;//     :try_end_0
a=0;//     .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
a=0;// 
a=0;//     .line 62
a=0;//     :goto_0
a=0;//     iput-object v1, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->b:Landroid/content/Context;
a=0;// 
a=0;//     .line 63
a=0;//     iput-object v1, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     .line 64
a=0;//     return-void
a=0;// 
a=0;//     .line 58
a=0;//     :catch_0
a=0;//     #v0=(Conflicted);
a=0;//     move-exception v0
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/Exception;);
a=0;//     invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
a=0;// 
a=0;// .method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
a=0;//     .locals 3
a=0;// 
a=0;//     .prologue
a=0;//     const/4 v2, 0x2
a=0;// 
a=0;//     #v2=(PosByte);
a=0;//     const/4 v1, 0x1
a=0;// 
a=0;//     .line 28
a=0;//     #v1=(One);
a=0;//     const-string v0, "state"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p2, v0}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Boolean);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 30
a=0;//     const-string v0, "state"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p2, v0, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     if-nez v0, :cond_1
a=0;// 
a=0;//     .line 32
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/dy;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 34
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     const/4 v1, 0x0
a=0;// 
a=0;//     #v1=(Null);
a=0;//     invoke-interface {v0, v1}, Lcom/cmread/bplusc/reader/dy;->a(I)V
a=0;// 
a=0;//     .line 45
a=0;//     :cond_0
a=0;//     :goto_0
a=0;//     #v0=(Conflicted);v1=(Boolean);
a=0;//     return-void
a=0;// 
a=0;//     .line 37
a=0;//     :cond_1
a=0;//     #v0=(Integer);v1=(One);
a=0;//     const-string v0, "state"
a=0;// 
a=0;//     #v0=(Reference,Ljava/lang/String;);
a=0;//     invoke-virtual {p2, v0, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
a=0;// 
a=0;//     move-result v0
a=0;// 
a=0;//     #v0=(Integer);
a=0;//     if-ne v0, v1, :cond_0
a=0;// 
a=0;//     .line 39
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     #v0=(Reference,Lcom/cmread/bplusc/reader/dy;);
a=0;//     if-eqz v0, :cond_0
a=0;// 
a=0;//     .line 41
a=0;//     iget-object v0, p0, Lcom/cmread/bplusc/reader/HeadSetPlugListenner;->a:Lcom/cmread/bplusc/reader/dy;
a=0;// 
a=0;//     invoke-interface {v0, v1}, Lcom/cmread/bplusc/reader/dy;->a(I)V
a=0;// 
a=0;//     goto :goto_0
a=0;// .end method
}}
